<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<form id="menuInfoForm">
	<div class="row" style="margin-top:20px;padding-left:20px;">
		<div class="form-group form-inline col-sm-6">
	    	<label class="">名称：</label>
     		<input class="form-control" type="text" name="menuName" value="" placeholder="请输入菜单名">
   		</div>
   		<div class="form-group form-inline col-sm-6">
	    	<label  class="">地址：</label>
     		<input class="form-control"name="menuUrl" value="" type="text" placeholder="请输入地址">
   		</div>
	</div>
	<div class="row" style="margin-top:20px;padding-left:20px;">
		<div class="from-group form-inline col-sm-6">
	    	<label class="">图标：</label>
     		<input class="form-control" name="menuIcon" value="" type="text" placeholder="请输入图标样式名">
   		</div>
   		<div class="form-group form-inline col-sm-6">
	    	<label  class="">类型：</label>
     		<input class="form-control" name="menuType" value="" type="text" placeholder="请输入菜单类型">
   		</div>
	</div>
	<div class="row" style="margin-top:20px;padding-left:20px;">
		<div class="from-group form-inline col-sm-6">
	    	<label  class="">序号：</label>
     		<input class="form-control" name="menuSort" value="" type="text" placeholder="请输入序号">
   		</div>
   		<div class="form-group form-inline col-sm-6">
	    	<label  class="">所属菜单：</label>
     		<select class="form-control" style="width:179px;" name="parentId">
	    		<option value="">--请选择--</option>
	    		<c:if test="${!empty parentMenu}">
		    		<c:forEach items="${parentMenu}" var="parent">
	    				<option value="${parent.menuId }" > ${parent.menuName }</option>
		    		</c:forEach>
	    		</c:if>
	    	</select>
   		</div>
	</div>
	<div class="row" style="margin-top:20px;padding-left:20px;">
		<div class="from-group form-inline col-sm-6">
	    	<label for="disabled" class="">是否启用：</label>
     		<input name="disabled" id="disabled" type="checkbox" value="1">
   		</div>
	</div>
	<div style="width:100%;text-align:center">
		<button type="submit" class="btn btn-warning" style="width:120px;margin-top:30px;">保存</button>
	</div>
</form>